package com.tutorial.bf.factory;

import com.tutorial.bf.dao.UserDao;
import com.tutorial.bf.dao.impl.UserDaoImpl;

/**
 * 实例工厂方法实例化Bean
 *
 * @ClassName MyBeanFactory2
 * @Description 实例工厂方法实例化Bean
 * @Author G
 * @Date 2025/3/7 11:14
 */
public class MyBeanFactory2 {
    public UserDao userDao() {
        return new UserDaoImpl();
    }
}

